package org.ilead.iserve.service.impl;

import java.util.List;

import org.ilead.iserve.dao.IHelpCategoryDAO;
import org.ilead.iserve.model.HelpCategory;
import org.ilead.iserve.service.IHelpCategoryService;

public class HelpCategoryService implements IHelpCategoryService{
	private IHelpCategoryDAO helpCategoryDAO = null;



	@Override
	public List<HelpCategory> findByCategoryPid(Long categoryPid) {
		return helpCategoryDAO.findByCategoryPid(categoryPid);
	}
	public void setHelpCategoryDAO(IHelpCategoryDAO helpCategoryDAO) {
		this.helpCategoryDAO = helpCategoryDAO;
	}
	@Override
	public HelpCategory findByCategoryId(Long categoryId) {
		return helpCategoryDAO.findByCategoryId(categoryId);
	}

	
}
